package com.mb.system.domain;

import java.io.Serializable;

public class AreaDO implements Serializable {
    private Long areaId;
    private String areaName;
    private Long upperAreaId;
    private Integer isOpen;
    private Integer level;

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(Integer isOpen) {
        this.isOpen = isOpen;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Long getUpperAreaId() {
        return upperAreaId;
    }

    public void setUpperAreaId(Long upperAreaId) {
        this.upperAreaId = upperAreaId;
    }

    @Override
    public String toString() {
        return "AreaDO{" +
                "areaId=" + areaId +
                ", areaName='" + areaName + '\'' +
                ", upperAreaId=" + upperAreaId +
                ", isOpen=" + isOpen +
                '}';
    }
}
